/*
 * Copyright © 2022 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

.post-run-actions-modal,
my-post-run-action-wizard {
  .wizard-nav {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    .capsule {
      &.current {
        background-color: #038dfa;
        color: white;
        padding-left: 5px;
        .badge {
          color: #038dfa;
          background-color: white;
          border: 0;
        }
      }
      &.complete {
        .nav-title,
        .badge {
          color: #038dfa;
        }
        .badge {
          border-color: #038dfa;
          padding: 3px 3px;
          font-size: smaller;
        }

      }
      display: flex;
      align-items: center;
      background-color: transparent;
      color: #b1b1b1;
      font-weight: 500;
      padding: 2px 10px 2px 0;
      border-radius: 15px;
      .badge {
        margin-right: 4px;
        background-color: white;
        color: #b1b1b1;
        padding: 5px 7px;
        border-radius: 12px;
        border: 2px solid;
        border-color: #b1b1b1;
      }
    }
    .line {
      height: 1px;
      border-top: 1px dashed #b1b1b1;
      width: 20%;
      position: relative;
      top: 14px;
      &.complete {
        border-top-color: #038dfa;
      }
      &:last-child {
        width: 0;
      }
    }
  }

  .modal-header {
    .plugin-version {
      margin-left: 5px;
    }
  }

  .close-button {
    margin-bottom: 15px;
  }
}
